chore(data): write real seed descriptions and seed demo ratings #94
+249
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
SEED_PASSWORD) give deterministic 3–5 star ratings to ~80 % of the public demo recipes, so Highest rated has data. Private recipes are not rated. Re-running the seed adds nothing.Validation
npm run checkpasses;test:apipasses (16).db:migrate+db:seedagainst PostgreSQL 16: 51 recipes, 163 ratings, all 49 public recipes rated (averages 3.0–5.0); a second run adds 0 ratings.npm run check(229 unit tests),test:db(12),test:api(17) and the fulltest:e2e(30, incl. the real-database browser test and the axe suite) pass on macOS against PostgreSQL 16; smoke, accessibility and cookie-auth browser tests pass on Linux (29/29).Remaining work (needs the team / VM)
npm run db:seedon the VM (it updates the descriptions in place and adds the ratings).AI usage
Written with Claude Code (Anthropic) during the final-delivery review. The change was implemented and tested by the AI agent and pushed from my account. Please review the diff as you would any other contribution.
Refs #75